// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include <string>

/**
 * Base class for exceptions.
 */
class FWorldException : public std::exception
{

public:

	FWorldException(const char* what);

	FWorldException(const std::string& what);

    virtual  const char* what() const noexcept
    {
        return msg.c_str();
    }

private:
    std::string msg;
};
